package cn.datawin.constant;

import cn.hutool.core.map.MapWrapper;

/**
 * redis 键值常量
 */
public class RedisPattern {

	/**
	 * 下游公司账号启动值
	 */
	public static final String CSTM_CORPORATE_START = "cstm_corporate_start";
	/**
	 * 下游公司用户账号启动值
	 */
	public static final String CSTM_CUSTOMER_START = "cstm_customer_start";


	/**
	 * 供应商起始code
	 * 结构: cstm_provider_start
	 */
	public static final String CSTM_PROVIDER_START="cstm_provider_start";


	/**
	 * 下游账号 string
	 * 结构: cstm_customer_cmpp_cache:CusCustomer.code
	 * pojo: com.hyy.api.domain.customer.redis.CstmCustomerCmppRedisDto
	 */
	public static final String CSTM_CUSTOMER_CMPP_CACHE = "cstm_customer_cmpp_cache:%s";

	/**
	 * 上游供应商信息 string
	 * 结构: prov_provider_cache:providerId
	 * pojo: com.hyy.api.domain.provider.redis.ProvProviderRedisDto
	 */
	public static final String PROV_PROVIDER_CACHE = "prov_provider_cache:%s";
	/**
	 * 上游供应商通道信息 string
	 * 结构: prov_provider_channel_cache:channelId
	 * pojo: com.hyy.api.domain.provider.redis.ProvProviderChannelRedisDto
	 */
	public static final String PROV_PROVIDER_CHANNEL_CACHE = "prov_provider_channel_cache:%s";

	/**
	 * 下游客户绑定的上游供应商通道信息 List
	 * 结构: cstm_customer_provider_channel_cache:customerId
	 * pojo: com.hyy.api.domain.customer.redis.CstmCustomerProviderChannelRedisDto
	 */
	public static final String CSTM_CUSTOMER_PROVIDER_CHANNEL_CACHE = "cstm_customer_provider_channel_cache:%s";

	/**
	 * 号码段归属地缓存
	 * 结构: base_area_number:number    (number是前3位)
	 */
    public static final String BASE_AREA_NUMBER_PREFIX = "base_area_number:%s";
	/**
	 * 携号转网缓存
	 * 结构: base_number_porting:number (number是前3位)
	 */
    public static final String BASE_NUMBER_PORTING_PREFIX  = "base_number_porting:%s";
}
